using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace eVideoStore
{
    public partial class FormPrincipal : Form
    {
        private ToolStripContainer container;
        
        public FormPrincipal()
        {
            InitializeComponent();
        }

        private void FormPrincipal_Load(object sender, EventArgs e)
        {
            ToolStripMenuItem item = new ToolStripMenuItem();
            ToolStrip subMenu = new ToolStrip();
            container = new ToolStripContainer();
            Controls.Add(container);

            item = new ToolStripMenuItem();
            item.Text = "Opcion A";
            subMenu.Items.Add(item);

            item = new ToolStripMenuItem();
            item.Text = "Opcion B";
            subMenu.Items.Add(item);

            subMenu.Text = "Opciones";
            container.TopToolStripPanel.Controls.Add(subMenu);
        }
    }
}